﻿package org.cubeland.game.core.drawing.yuki 
{
	import flash.display.Shape;
	import flash.filters.BlurFilter;
	import org.papervision3d.materials.MovieMaterial;
	import org.papervision3d.objects.primitives.Plane;
	/**
	 * CubeLand.org Game
	 * @author Duarte Peixinho
	 */
	public class DrawYukiShadow extends Plane
	{
		
		public function DrawYukiShadow() 
		{
			var shadow:Shape = new Shape();
			shadow.graphics.beginFill(0x000000);
			shadow.graphics.drawCircle(0, 0, 20);
			shadow.graphics.endFill();		
			shadow.alpha = 0.5;			
			var mv:MovieMaterial = new MovieMaterial(shadow, true);
			super(mv, 150, 150);
			useOwnContainer = true;
			filters = [ new BlurFilter(16, 16, 4)];
			localRotationX = -90;
		}
		
	}

}